package com.sport.setting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sport.model.setting.pojos.SportEventsTempGame;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SportEventsTempGameMapper extends BaseMapper<SportEventsTempGame> {

    List<Long> getTempGameForSchool(@Param("schoolTenementId") String schoolTenementId, @Param("sportBindingSchool") Long sportBindingSchool);

    int insertTemp(@Param("id") Long id, @Param("schoolTenementId") String schoolTenementId, @Param("sportBindingSchool") Long sportBindingSchool);

    int deleteTemp(@Param("id") Long id, @Param("schoolTenementId") String schoolTenementId, @Param("sportBindingSchool") Long sportBindingSchool);
}
